FROM python:3.14
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
COPY requirement.txt /code
RUN pip install -r requirement.txt  -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
COPY . /code
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
